package com.charon.common.base;

import java.io.Serializable;
import java.util.Date;

/**
  * @ClassName：DataEntity
  * @author： Charon [248135724@qq.com]
  * @description: 根：实体抽象类
  * @date: 2019/01/11 18:56
  * @version: 1.0
  */
public abstract class BaseEntity implements Serializable {
	 /**
     * 删除标记（0：正常；1：删除；2：审核；）
     */
    public static final String DEL_FLAG_NORMAL = "0";
    public static final String DEL_FLAG_DELETE = "1";
    public static final String DEL_FLAG_AUDIT = "2";
    public String id;
    public String remarks;	// 备注
    public String createBy;	// 创建者
    public Date createDate;	// 创建日期
    public String updateBy;	// 更新者
    public Date updateDate;	// 更新日期
    public String delFlag; 	// 删除标记（0：正常；1：删除；2：审核）

    public BaseEntity() {
        this.delFlag = DEL_FLAG_NORMAL;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
}
